package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Document;
import com.example.demo.vo.documentDetailVO;
import com.example.demo.vo.messageDetailVO;
import org.springframework.http.codec.ServerSentEvent;
import reactor.core.publisher.Flux;

import java.util.List;

public interface RagSerivce extends IService<Document> {

    List<documentDetailVO> urlList(Long userId);


    List<messageDetailVO> getMessageDetail(Long userId);

    Flux<ServerSentEvent<Object>> streamResponse(String message, Long sessionId);
}
